{% load widget %} 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>飞信在线管理</title>

<link href="/static/dwz-ria/themes/default/style.css" rel="stylesheet" type="text/css" />
<link href="/static/dwz-ria/themes/css/core.css" rel="stylesheet" type="text/css" />
<link href="/static/dwz-ria/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="/static/dwz-ria/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script src="/static/dwz-ria/js/speedup.js" type="text/javascript"></script>
<script src="/static/dwz-ria/js/jquery-1.4.4.js" type="text/javascript"></script>

<script src="/static/dwz-ria/js/jquery.cookie.js" type="text/javascript"></script>
<script src="/static/dwz-ria/js/jquery.validate.js" type="text/javascript"></script>
<script src="/static/dwz-ria/js/jquery.bgiframe.js" type="text/javascript"></script>

<script src="/static/dwz-ria/js/dwz.core.js" type="text/javascript"></script>
<script src="/static/dwz-ria/dwz.min.js" type="text/javascript"></script>


<script type="text/javascript">
$(function(){
	DWZ.init("/static/dwz-ria/dwz.frag.xml", {
		loginUrl:"/login", loginTitle:"登录",	// 弹出登录对话框
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="http://fredzhu.com" target="_blank">标志</a>
				<ul class="nav">
					<li>
						<a href="/logout">退出</a>
					</li>
				</ul>
			</div>
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>
				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
						<h2><span>Folder</span>飞信管理</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li>
								<a rel="login" href="/fetion/login" target="navTab">登陆飞信</a>
							</li>
							<!-- 
							<li>
								<a rel="login" href="/fetion/query" target="navTab">状态查询</a>
							</li>
							-->
							<li>
								<a rel="queue_list" href="/queue/list" target="navTab">短信队列</a>
							</li>
							<li>
								<a rel="task_list" href="/task/list" target="navTab">任务队列</a>
							</li>
						</ul>
					</div>

				</div>
			</div>
		</div>

		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>

					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						{% block content %}{% endblock %}
					</div>
				</div>
			</div>
		</div>

	</div>

	<div id="footer">Copyright &copy; 2012 <a href="http://fredzhu.com" target="_blank">Fredzhu.com</a></div>

</body>
</html>